package com.yh.csx.crm.service.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * DevCustomerListResp class
 *
 * @author huyalin
 * @date 2019/4/10
 */
@Data
public class DevCustomerListResp {

    private Long id;

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("客户分类ID")
    private Integer customerCategoryId;

    @ApiModelProperty("客户分类")
    private String customerCategory;

    @ApiModelProperty("联系人姓名")
    private String contactPerson;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("注册资本")
    private String registeredCapital;

    @ApiModelProperty("业务对接人ID")
    private Long salesUserId;

    @ApiModelProperty("业务对接人姓名")
    private String salesUserName;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("列表类型")
    private String listType;

    @ApiModelProperty("可否跳转详情")
    private Boolean detailsFlag = true;

    @ApiModelProperty("最后拜访时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastVisitTime;

    @ApiModelProperty("客户地址")
    private String address;
}
